import request from '@/utils/request.js'

export const chartApi = {
	selectTypeCount() {
		return request.get('/product/category/selectCategory1Count')
	},
	selectOrderGrowth() {
		return request.get('/order/orderInfo/selectOrderGrowth')
	},
	selectUserCount() {
		return request.get('/user/selectUserCount')
	},
	selectSaleCount() {
		return request.get('/order/orderInfo/selectSaleCount')
	},
	selectOrderCount() {
		return request.get('/order/orderInfo/selectOrderCount')
	},
	selectHotProduct() {
		return request.get('/product/selectHotProduct')
	},
	selectCategoryAmount() {
		return request.get('/order/orderItem/selectCategoryAmount')
	}
}
